package com.kugong.user;

import com.jfinal.plugin.activerecord.Model;

import java.util.Date;

/**
 * Created by lenovo on 2015/12/10.
 */
public class Weixin extends Model<Weixin> {
    public final static Weixin dao = new Weixin();


    public void addWeixin(String open_id,String name,String password){
        Weixin weixin = new Weixin();
        weixin.set("open_id", open_id).set("name",name).set("passWord",password).set("create_time",new Date()).set("modify_time",new Date()).save();
    }

}
